@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: italic;
  font-weight: 200;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiDyp8kv8JHgFVrJJLmv1plEA.ttf)
    format("truetype");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: italic;
  font-weight: 300;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiDyp8kv8JHgFVrJJLm21llEA.ttf)
    format("truetype");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: italic;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiGyp8kv8JHgFVrJJLedw.ttf)
    format("truetype");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 300;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLDz8V1s.ttf)
    format("truetype");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiEyp8kv8JHgFVrFJA.ttf)
    format("truetype");
}
@font-face {
  font-display: swap;
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  src: url(https://fonts.gstatic.com/s/poppins/v21/pxiByp8kv8JHgFVrLGT9V1s.ttf)
    format("truetype");
}
section {
  align-items: center;
  background: linear-gradient(180deg, #f1f4f9, #dff1ff);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}
section .color {
  filter: blur(150px);
  position: absolute;
}
section .color:first-child {
  background: #00d2ff;
  height: 600px;
  top: -350px;
  width: 600px;
}
section .color:nth-child(2) {
  background: #ff359b;
  bottom: 0;
  height: 500px;
  left: 100px;
  width: 500px;
}
section .color:nth-child(3) {
  background: #fffd87;
  bottom: 50px;
  height: 300px;
  right: 100px;
  width: 300px;
}
.box {
  position: relative;
}
.box .square {
  animation: animate 10s linear infinite;
  backdrop-filter: blur(5px);
  background: hsla(0, 0%, 100%, 0.1);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.5);
  border-right: 1px solid hsla(0, 0%, 100%, 0.5);
  border-color: hsla(0, 0%, 100%, 0.5) hsla(0, 0%, 100%, 0.2)
    hsla(0, 0%, 100%, 0.2) hsla(0, 0%, 100%, 0.5);
  border-radius: 10px;
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  position: absolute;
}
.box .square:nth-child(5) {
  animation-delay: -4s;
}
.box .square:nth-child(4) {
  animation-delay: -3s;
}
.box .square:nth-child(3) {
  animation-delay: -2s;
}
.box .square:nth-child(2) {
  animation-delay: -1s;
}
.box .square:first-child {
  animation-delay: 0s;
}
@keyframes animate {
  0%,
  to {
    transform: translateY(-40px);
  }
  50% {
    transform: translateY(40px);
  }
}
.box .square:first-child {
  height: 100px;
  right: -60px;
  top: -50px;
  width: 100px;
}
.box .square:nth-child(2) {
  height: 120px;
  left: -100px;
  top: 150px;
  width: 120px;
  z-index: 2;
}
.box .square:nth-child(3) {
  bottom: 50px;
  height: 80px;
  right: -60px;
  width: 80px;
  z-index: 2;
}
.box .square:nth-child(4) {
  bottom: -80px;
  height: 50px;
  left: 100px;
  width: 50px;
}
.box .square:nth-child(5) {
  height: 60px;
  left: 140px;
  top: -80px;
  width: 60px;
}
.container {
  align-items: center;
  backdrop-filter: blur(5px);
  background: hsla(0, 0%, 100%, 0.1);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.5);
  border-radius: 10px;
  border-right: 1px solid hsla(0, 0%, 100%, 0.5);
  border-color: hsla(0, 0%, 100%, 0.5) hsla(0, 0%, 100%, 0.2)
    hsla(0, 0%, 100%, 0.2) hsla(0, 0%, 100%, 0.5);
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  min-height: 400px;
  width: 400px;
}
.container,
.form {
  position: relative;
}
.form {
  height: 100%;
  padding: 40px;
  width: 100%;
}
.form h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 40px;
  position: relative;
}
.form h2:before {
  background: #fff;
  bottom: -10px;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  width: 80px;
}
.form .inputBox {
  margin-top: 20px;
  width: 320px;
}
.form .inputBox input {
  background: hsla(0, 0%, 100%, 0.2);
  border: 1px solid hsla(0, 0%, 100%, 0.5);
  border-left: none;
  border-radius: 35px;
  border-top: none;
  border-color: hsla(0, 0%, 100%, 0.5) hsla(0, 0%, 100%, 0.2)
    hsla(0, 0%, 100%, 0.2) hsla(0, 0%, 100%, 0.5);
  border-style: solid;
  border-width: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
  outline: none;
  padding: 10px 20px;
  width: 100%;
}
.form .inputBox input::placeholder {
  color: #fff;
}
.form .submitBox {
  text-align: center;
  width: 100%;
}
.form .submitBox input[type="submit"] {
  background: #fff;
  border: none;
  border-radius: 35px;
  color: #666;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  height: 30px;
  margin-bottom: 20px;
  margin-top: 20px;
  outline: none;
  width: 160px;
}
.forget {
  color: #fff;
  margin-top: 5px;
}
.forget a {
  color: #fff;
  font-weight: 600;
}
